from django import http
from django.shortcuts import render
from django.views import View


class IndexView(View):
    def get(self, request):
        """
        主页
        :param request:
        :return:
        """
        # return http.HttpResponse('落叶的主页')
        return render(request, 'index.html')
